package com.wicket.okrapp.biz.service.dto.common;



import com.wicket.okrapp.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.Objects;

/**
 * @desc CheckItemListDto
 * @使用场景
 */
@Data
public class CheckItemListDto extends BaseDto implements Serializable {

    /**
     * 检查项ID:
     */
    @ApiModelProperty("检查项ID")
    private String checkItemId;

    /**
     * 检验项标识:
     */
    @ApiModelProperty("检验项标识")
    private String checkItemCode;

    /**
     * 检测项名称:
     */
    @ApiModelProperty("检测项名称 ")
    private String checkItemName;

    /**
     * 用于业务场景ID:
     */
    @ApiModelProperty("用于业务场景ID")
    private String bizSceneId;

    /**
     * 业务场景编码:
     */
    @ApiModelProperty("业务场景编码")
    private String bizSceneCode;

    /**
     * 主体生命周期:
     */
    @ApiModelProperty("主体生命周期")
    private String subjectLifeCycle;

    /**
     * 是否存档:
     */
    @ApiModelProperty("是否存档")
    private String isArchive;

    /**
     * 操作人就职记录ID:
     */
    @ApiModelProperty("操作人就职记录ID")
    private String operationInductionId;

    /**
     * 操作时间:
     */
    @ApiModelProperty("操作时间")
    private Date operateTime;

    @Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      CheckItemListDto that = (CheckItemListDto) o;
      return  checkItemId == that.checkItemId&&checkItemCode == that.checkItemCode&&checkItemName == that.checkItemName&&bizSceneId == that.bizSceneId&&bizSceneCode == that.bizSceneCode&&subjectLifeCycle == that.subjectLifeCycle&&isArchive == that.isArchive&&operationInductionId == that.operationInductionId&&operateTime == that.operateTime;
    }

    @Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), checkItemId,checkItemCode,checkItemName,bizSceneId,bizSceneCode,subjectLifeCycle,isArchive,operationInductionId,operateTime);
    }

}
